Import("qtEnv")
qtEnv.Append(CPPDEFINES = ['FOOBAZ'])

copy = qtEnv.Clone()
copy.Append(CPPDEFINES = ['MYLIB_IMPL'])
copy.EnableQt4Modules(['QtCore'])

copy.SharedLibrary(
   target = 'MyLib',
   source = ['MyFile.cpp']
)
